{template newheader}
<div id="wrapper">
 <!--{if $TS_USER[user] == ''}-->
	<div class="home_about">
    	<ol>
			<li class="s1">发现喜欢的物品</li>
			<li class="s2">创建自己的专辑</li>
			<li class="s3">和热爱生活的人畅聊</li>
		</ol>
		<a href="{SITE_URL}{tsurl('user','register')}" class="join_now">立即加入</a>
    </div>
 <!--{/if}-->
 
 
	<div id="content0" class="col_1 ">
		<ul class="p_list">
		<!--{if $arrTTopic1}-->
<!--{loop $arrTTopic1 $key $item}-->
				<li class="node co5">
					<div class="p_box">
						<a href="{SITE_URL}{tsurl('talk','topic',array(topicid=>$item[topicid]))}" name="false" class="thum"><img src="{SITE_URL}{$item[thumb]}"/></a>
						
						
							 <!--{if $TS_USER[user] == ''}-->
							<a class="fave" href="{SITE_URL}{tsurl('user','login')}">收藏</a>
						<!--{else}-->
							<!--{if $item[iscollect] =='1'}-->
								<a class="faved" href="javascript:void('0');" title="已收藏">已收藏</a>
							<!--{else}-->
						<a class="fave" href="javascript:void('0');" onclick="topic_collect('{$item[topicid]}');" title="点击收藏">收藏</a>
						<!--{/if}-->
							 <!--{/if}-->
						
					</div>
					<p class="n_data"><span class="fave" title="{$item[collects_num]}人收藏">{$item[collects_num]}</span><a class="com" href="{SITE_URL}{tsurl('talk','topic',array(topicid=>$item[topicid]))}#comments" title="{$item[count_comment]}条评论">{$item[count_comment]}</a></p>
					<div class="n_com">
						<a href="{SITE_URL}{tsurl('user','space',array(userid=>$item[userid]))}" class="user_p"><img src="{$item[user][face]}"/></a>
						<p class="n_u"><strong><a href="{SITE_URL}{tsurl('user','space',array(userid=>$item[userid]))}">{$item[user][username]}</a></strong><br />
						<span class="date">
						喜欢
						</span>
						</p>
						<h2>{$item[title]}</h2>
						<!--{if $item[last_return]}-->
						<div class="last_return">
						<a href="{SITE_URL}{tsurl('user','space',array(userid=>$item[lastreturnuser][userid]))}" target="_blank">{$item[lastreturnuser][username]}</a>: {$item[last_return]}</div>
						<!--{/if}-->
					</div>
				</li>
		
		<!--{/loop}-->
<!--{/if}-->
			
		
		
			
		
		
			
		
		
		</ul>
	</div>
 
 
	<div id="content1" class="col_2 ">
		<ul class="p_list">
		
			
		
		<!--{if $arrTTopic2}-->
<!--{loop $arrTTopic2 $key $item}-->
				<li class="node co5">
					<div class="p_box">
						<a href="{SITE_URL}{tsurl('talk','topic',array(topicid=>$item[topicid]))}" name="false" class="thum"><img src="{SITE_URL}{$item[thumb]}"/></a> <!--{if $TS_USER[user] == ''}-->
							<a class="fave" href="{SITE_URL}{tsurl('user','login')}">收藏</a>
						<!--{else}-->
							<!--{if $item[iscollect] =='1'}-->
								<a class="faved" href="javascript:void('0');" title="已收藏">已收藏</a>
							<!--{else}-->
						<a class="fave" href="javascript:void('0');" onclick="topic_collect('{$item[topicid]}');" title="点击收藏">收藏</a>
						<!--{/if}-->
							 <!--{/if}-->
						
					</div>
					<p class="n_data"><span class="fave" title="{$item[collects_num]}人收藏">{$item[collects_num]}</span><a class="com" href="{SITE_URL}{tsurl('talk','topic',array(topicid=>$item[topicid]))}#comments" title="{$item[count_comment]}条评论">{$item[count_comment]}</a></p>
					<div class="n_com"><a href="{SITE_URL}{tsurl('user','space',array(userid=>$item[userid]))}" class="user_p"><img src="{$item[user][face]}"/></a>
						<p class="n_u"><strong><a href="{SITE_URL}{tsurl('user','space',array(userid=>$item[userid]))}">{$item[user][username]}</a></strong><br />
						<span class="date">喜欢</span></p>
						<h2>{$item[title]}</h2>
						<!--{if $item[last_return]}-->
						<div class="last_return">
						<a href="{SITE_URL}{tsurl('user','space',array(userid=>$item[lastreturnuser][userid]))}" target="_blank">{$item[lastreturnuser][username]}</a>: {$item[last_return]}</div>
						<!--{/if}-->
					</div>
					
				</li>
		
		<!--{/loop}-->
<!--{/if}-->
		</ul>
	</div>
 
 
	<div id="content2" class="col_3 ">
		<ul class="p_list">
				<!--{if $arrTTopic3}-->
<!--{loop $arrTTopic3 $key $item}-->
				<li class="node co5">
					<div class="p_box">
						<a href="{SITE_URL}{tsurl('talk','topic',array(topicid=>$item[topicid]))}" name="false" class="thum"><img src="{SITE_URL}{$item[thumb]}"/></a> <!--{if $TS_USER[user] == ''}-->
							<a class="fave" href="{SITE_URL}{tsurl('user','login')}">收藏</a>
						<!--{else}-->

							<!--{if $item[iscollect] =='1'}-->
								<a class="faved" href="javascript:void('0');" title="已收藏">已收藏</a>
							<!--{else}-->
						<a class="fave" href="javascript:void('0');" onclick="topic_collect('{$item[topicid]}');" title="点击收藏">收藏</a>
						<!--{/if}-->
							 <!--{/if}-->
						
					</div>
					<p class="n_data"><span class="fave" title="{$item[collects_num]}人收藏">{$item[collects_num]}</span><a class="com" href="{SITE_URL}{tsurl('talk','topic',array(topicid=>$item[topicid]))}#comments" title="{$item[count_comment]}条评论">{$item[count_comment]}</a></p>
					<div class="n_com"><a href="{SITE_URL}{tsurl('user','space',array(userid=>$item[userid]))}" class="user_p"><img src="{$item[user][face]}"/></a>
						<p class="n_u"><strong><a href="{SITE_URL}{tsurl('user','space',array(userid=>$item[userid]))}">{$item[user][username]}</a></strong><br />
						<span class="date">喜欢</span></p>
						<h2>{$item[title]}</h2>
						<!--{if $item[last_return]}-->
						<div class="last_return">
						<a href="{SITE_URL}{tsurl('user','space',array(userid=>$item[lastreturnuser][userid]))}" target="_blank">{$item[lastreturnuser][username]}</a>: {$item[last_return]}</div>
						<!--{/if}-->
					</div>
					
				</li>
		
		<!--{/loop}-->
<!--{/if}-->
		
		
			
		
		
		</ul>
	</div>
 
 
	<div id="content3" class="col_4 col_l">
		<ul class="p_list">
				<!--{if $arrTTopic4}-->
<!--{loop $arrTTopic4 $key $item}-->
				<li class="node co5">
					<div class="p_box">
						<a href="{SITE_URL}{tsurl('talk','topic',array(topicid=>$item[topicid]))}" name="false" class="thum"><img src="{SITE_URL}{$item[thumb]}"/></a> <!--{if $TS_USER[user] == ''}-->
							<a class="fave" href="{SITE_URL}{tsurl('user','login')}">收藏</a>
						<!--{else}-->
							<!--{if $item[iscollect] =='1'}-->
								<a class="faved" href="javascript:void('0');" title="已收藏">已收藏</a>
							<!--{else}-->
						<a class="fave" href="javascript:void('0');" onclick="topic_collect('{$item[topicid]}');" title="点击收藏">收藏</a>
						<!--{/if}-->
							 <!--{/if}-->
						
					</div>
					<p class="n_data"><span class="fave" title="{$item[collects_num]}人收藏">{$item[collects_num]}</span><a class="com" href="{SITE_URL}{tsurl('talk','topic',array(topicid=>$item[topicid]))}#comments" title="{$item[count_comment]}条评论">{$item[count_comment]}</a></p>
					<div class="n_com"><a href="{SITE_URL}{tsurl('user','space',array(userid=>$item[userid]))}" class="user_p"><img src="{$item[user][face]}"/></a>
						<p class="n_u"><strong><a href="{SITE_URL}{tsurl('user','space',array(userid=>$item[userid]))}">{$item[user][username]}</a></strong><br />
						<span class="date">喜欢</span></p>
						<h2>{$item[title]}</h2>
						<!--{if $item[last_return]}-->
						<div class="last_return">
						<a href="{SITE_URL}{tsurl('user','space',array(userid=>$item[lastreturnuser][userid]))}" target="_blank">{$item[lastreturnuser][username]}</a>: {$item[last_return]}</div>
						<!--{/if}-->
					</div>
					
				</li>
		
		<!--{/loop}-->
<!--{/if}-->
			
		
		
		</ul>
	</div>
 
	<div class="clear"></div>
	<div class="loadbar" id="ajax"><a  class="ajax loading">更多</a></div>
	<div class="loadbar" id="more"><a class="ajax">更多</a></div>
</div>
{template footer}
